﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using HCM_maps_website.Process.DAL;
using HCM_maps_website.Models;

namespace HCM_maps_website.Process.BLL
{
    public class PlaceBLL
    {
        PlaceDAO place = new PlaceDAO();

        public IList<PlaceModels> FindExactAddress(string number, string street)
        {
            return place.GetExactAddress(number, street); 
        }

        public IList<PlaceModels> FindNearAddress(string number, string street)
        {
            return place.GetNearAddress(number, street);
        }
    }
}